﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class DeliverGoodsManagement_PrintDeliverBillNew : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Ajax.Utility.RegisterTypeForAjax(typeof(DeliverGoodsManagement_PrintDeliverBillNew));
        }
    }
    #region 返回前台初始化数据



    [Ajax.AjaxMethod]
    public DataSet GetData(string value)
    {
        if (value != "")
        {
            try
            {
                string strOrderId = value.Replace("|", ",");
                DataSet ds = new BLL.ORDERDOC().GetOrderToPrintDeliverBill(strOrderId);
                return ds;
            }
            catch (Exception ex)
            {
                return null;
            }

        }
        return null;
    }
    #endregion
}
